using System.ServiceModel;
using System.ServiceModel.Channels;

namespace Crowler.Model.CoreComponents
{
    public interface IParentServiceProvider
    {
        /// <summary>
        /// Create wcf parent service wrapper
        /// </summary>
        T CreateParentService<T>(T kaka, Binding binding, EndpointAddress endPoint) where T : class;

        /// <summary>
        /// Create local parent service 
        /// </summary>
        T CreateParentService<T>(T parentServiceType);

    }
}